<template>
<div class="navbtns-root">
  <div class="left icon" @click="back"></div>
  <router-link to="/home" tag="div" class="home icon"></router-link>
</div>
</template>

<script>
export default {
  name: 'navbtns',
  methods: {
    back(){
      this.$router.back()
    }
  }
}
</script>

<style scoped lang="stylus">
.icon
  position absolute
  height 38px
  width 38px
  top 63px
  cursor pointer
  &.left
    background-image url(img/left.png)
    left 58px
  &.home
    right 58px
    background-image url(img/home.png)

</style>